<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <!-- Start: Meta Tags -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- End: Meta Tags -->

    <!-- Title -->
    <title>Areal</title>
    <!-- Start: Link Tags -->
    <link rel="shortcut icon" href="<?= '/img/favicon.png' ?>" type="image/x-icon" />
    <link rel="stylesheet" media="screen" type="text/css" href="/css/spacegallery.css" />
    <link rel="stylesheet" media="screen" type="text/css" href="/css/brochure.css" />
    <link rel="stylesheet" media="screen" type="text/css" href="/css/thickbox.css" />
    <script type="text/javascript" src="<?= '/js/jquery-1.3.2.min.js' ?>"></script>
    <script type="text/javascript" src="/js/jquery.simplemodal-1.3.min.js"></script>
        <script type="text/javascript" src="/js/thickbox.js"></script>

    <script type="text/javascript" >
        (function($){
                var initLayout = function() {
                        $('#myGallery').spacegallery({loadingClass: 'loading'});
                };
                EYE.register(initLayout, 'init');
        })(jQuery)
    </script>
</head>
<body>
<div class="colmask threecol">
<div class="colmid">
<div class="colleft">
<div class="col1">
<!-- Column 1 start -->

<div id="flash-container">
    <?php if ($this->flashMessenger()->hasCurrentMessages()):?>
        C: <?= $this->htmlList($this->flashMessenger()->getCurrentMessages()); ?>
    <?php elseif ($this->flashMessenger()->hasMessages()):?>
        M: <?= $this->htmlList($this->flashMessenger()->getMessages()); ?>
    <? endif; ?>
</div>
<div id="content">
    <?php echo $this->layout()->content . "\n"; ?>
</div>
<!-- Column 1 end -->
</div>
<div class="col2">
<!-- Column 2 start -->
<ul id="language-menu">
    <li>
        <a href="<?php
                    echo $this->url(array('language' => 'lt',
                                          'module' => 'content',
                                          'controller'=>'menu',
                                          'action'=>'index'),'default',true)
        ?>"><?php echo  $this->translate('LT'); ?></a>
    </li>
    <li>
        <a href="<?php
                    echo $this->url(array('language' => 'en',
                                          'module' => 'content',
                                          'controller'=>'menu',
                                          'action'=>'index'),'default',true)
        ?>"><?php echo  $this->translate('EN'); ?></a>
    </li>
    <li>
        <a href="<?php
                    echo $this->url(array('language' => 'ru',
                                          'module' => 'content',
                                          'controller'=>'menu',
                                          'action'=>'index'),'default',true)
        ?>"><?php echo  $this->translate('RU'); ?></a>
    </li>
</ul>


<div id="vertical-spacer-1">&nbsp;</div>
<div id="site-menu">
<?php
    $langu = $this->siteMenu->findOneByLabel(strtoupper($this->language));
    echo $this->navigation()->menu()->renderMenu($langu, array(
        //'minDepth'         => 2,
        //  'onlyActiveBranch' => true,
        //'renderParents'    => true
    ));
?>
</div>
<div id="vertical-spacer-2">&nbsp;</div>


<!-- Column 2 end -->
</div>
<div class="col3">
<!-- Column 3 start -->
<div id="vertical-spacer-3">&nbsp;</div>

<!-- Column 3 end -->
</div>
</div>
</div>
</div>
</body>
</html>
